<?
class Default_Form_Login extends Zend_Form
{
    public function init()
    {
        $this->setAction('/2533/login');
        $username = new Zend_Form_Element_Text('login'); 
        $username
            ->setRequired(true)
            ->setLabel('Логин:');
        
        $password = new Zend_Form_Element_Password('password');
        $password
            ->setRequired(true)
            ->setLabel('Пароль:');
        
        $submit = new Zend_Form_Element_Submit('enter');
        $submit
            ->setRequired(true)
            ->setLabel('Войти');
        
        $this->addElements(array(
            $username,
            $password,
            $submit
        ));
    }
}